{__NOLAYOUT__}
<!DOCTYPE html>
<html lang="en">
<head>
    <!--<link href="/static/vendors/bootstrap/css/bootstrap.min.css" rel="stylesheet">-->
    {include file="public/head" title="$templateTitle" /}
</head>
<body style="background: rgb(42, 63, 84); color: #73879C;">
<div class="container">
    <div class="row">
        <div class="col-xs-12" style="text-align: center; padding: 25px 0; margin-top: 50px;">
<!--            <img src="__PUBLIC__/images/logo.png" class="img-circle" style="max-height: 100px;">-->
            <span style="display: inline-block; font-size: 24px;">
               会链后台管理
            </span>
        </div>
    </div>

    <form class="form-horizontal" id="form-admin-login">
        <div class="form-group">
            <label class="control-label col-xs-offset-2 col-xs-2">
                <?php echo translate("admin-login:username"); ?>
            </label>
            <div class="col-xs-4">
                <input type="text" class="form-control" name="username"
                       placeholder="<?php echo translate('admin-login:username_placeholder'); ?>">
            </div>
        </div>
        <div class="form-group">
            <label class="control-label col-xs-offset-2 col-xs-2">
                <?php echo translate("admin-login:password"); ?>
            </label>
            <div class="col-xs-4">
                <input type="password" class="form-control" name="password"
                       placeholder="<?php echo translate('admin-login:password_placeholder'); ?>">
            </div>
        </div>

        <div class="form-group">
            <label class="control-label col-xs-offset-2 col-xs-2">
                <?php echo translate("admin-login:captcha"); ?>
            </label>
            <div class="col-xs-2">
                <input type="text" class="form-control" name="captcha"
                       placeholder="<?php echo translate('admin-login:captcha_placeholder'); ?>">
            </div>
            <div class="col-xs-2">
                <img src="{:captcha_src()}" alt="captcha" style="width: 100%; max-height: 34px;" onclick="this.src='{:captcha_src()}'" />
            </div>
        </div>

        <div class="form-group">
            <div class="col-xs-offset-4 col-xs-4">
                <button type="button" class="btn btn-block btn-success" onclick="ajaxSubmit('form-admin-login')">
                    <?php echo translate("admin-login:login_btn"); ?>
                </button>
            </div>
        </div>
    </form>
</div>

{include file="public/scripts" /}
</body>
</html>
